home *** CD-ROM | disk | FTP | other *** search
- ASSIGN(3F) Last changed: 2-24-98
-
-
- NNAAMMEE
- AASSSSIIGGNN, AASSNNUUNNIITT, AASSNNFFIILLEE, AASSNNRRMM - Provides library interface to aassssiiggnn
- processing
-
- SSYYNNOOPPSSIISS
- All systems:
-
- CCAALLLL AASSNNUUNNIITT((_i_u_n_i_t,, _a_s_t_r_i_n_g,, _i_e_r))
-
- CCAALLLL AASSNNFFIILLEE((_f_n_a_m_e,, _a_s_t_r_i_n_g,, _i_e_r))
-
- CCAALLLL AASSNNRRMM((_i_e_r))
-
- CCAALLLL AASSSSIIGGNN((_c_m_d ,,_i_e_r))
-
- UNICOS and UNICOS/mk systems only:
-
- CCAALLLL AASSSSIIGGNN((_c_m_d))
-
- IIMMPPLLEEMMEENNTTAATTIIOONN
- UNICOS, UNICOS/mk and IRIX systems
-
- DDEESSCCRRIIPPTTIIOONN
- This routine is supported on IRIX systems for programs compiled with
- the MIPSpro 7 Fortran 90 compiler or compiled with the --ccrraayylliibbss
- option to the MIPSpro 7.2 F77 compiler.
-
- AASSSSIIGGNN provides an interface to aassssiiggnn processing from Fortran.
-
- AASSNNUUNNIITT and AASSNNFFIILLEE assign attributes to units and files,
- respectively.
-
- AASSNNRRMM removes all entries currently in the aassssiiggnn environment.
-
- When using the CF90 compiler or MIPSpro 7 Fortran 90 compiler on
- UNICOS, UNICOS/mk, or IRIX, all arguments must be of default kind
- unless documented otherwise. On UNICOS and UNICOS/mk, default kind is
- KKIINNDD==88 for integer, real, complex, and logical arguments; on IRIX, the
- default kind is KKIINNDD==44.
-
- These routines have the following arguments:
-
- _c_m_d A Fortran character variable containing a complete aassssiiggnn(1)
- command in the format also acceptable to IISSHHEELLLL(3F). The --VV
- option cannot be processed by the AASSSSIIGGNN routine.
-
- _i_e_r An integer variable that is assigned the exit status on
- return. A 0 indicates normal return; >0 indicates a
- specific error status
-
- _i_u_n_i_t An integer variable or constant containing the unit number
- to which attributes are assigned.
-
- _a_s_t_r_i_n_g A Fortran character variable containing any attribute
- options and option values that could be passed to aassssiiggnn(1).
- Control options --II, --OO, and --RR can also be passed.
-
- _f_n_a_m_e A character variable or constant containing the file name to
- which attributes are assigned.
-
- NNOOTTEESS
- Users are encouraged to use the AASSSSIIGGNN library routines rather than
- IISSHHEELLLL((''aassssiiggnn'')), because IISSHHEELLLL(3F) causes vvffoorrkk(2), an eexxeecc(2) of
- sshh(1), another ffoorrkk(2), and another eexxeecc(2) of aassssiiggnn(1).
-
- EEXXAAMMPPLLEESS
- Example 1: The following is equivalent to aassssiiggnn --ss uunnbblloocckkeedd ff::ffiillee
-
- CALL ASSIGN('assign -s unblocked f:file' ,ier)
-
- Example 2: The following has the same effect as aassssiiggnn --II --nn 22 uu::9999
-
- INTEGER IUN
- IUN = 99
- CALL ASNUNIT(IUN,'-I -n 2',IER)
-
- Example 3: The following is equivalent to executing aassssiiggnn --ss ttaappee
- uu::11
-
- CALL ASNUNIT(1,' -s tape',IER)
-
- SSEEEE AALLSSOO
- AASSNNCCTTLL(3F), AASSNNQQFFIILLEE(3F), AASSNNQQUUNNIITT(3F), IISSHHEELLLL(3F)
-
- aassssiiggnn(1)
-
- _A_p_p_l_i_c_a_t_i_o_n _P_r_o_g_r_a_m_m_e_r'_s _L_i_b_r_a_r_y _R_e_f_e_r_e_n_c_e _M_a_n_u_a_l, publication
- SR-2165, for the printed version of this man page.
-